package building;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Shape;

import player.Player;
import map.*;


public abstract class Base extends Cell {

	protected Player owner;
	protected Cell cellID;
	protected Shape shape;
	protected int idCount=0;
	protected Color color;
	
	public Base() {
	}
	public Base(Player p) {
		owner=p;
		this.color=owner.color;
	}
	public Base(Cell c) {
		cellID=c;
	}
	public Base(Cell c,Player p) {
		cellID=c;
		owner=p;
		this.color=owner.color;
	}
	
	//Aufruf in Cell!!!
	public static void drawBuilding(Base b,Graphics2D g) {
		g.setColor(b.color);
		g.draw(b.shape);
		g.fill(b.shape);
		g.setColor(Color.BLACK);
	}
	
	public void moveTo(double x, double y){}
	
}
